package cn.example.gate.plugins.netty;

import org.artifact.core.lang.IPlugin;
import org.artifact.core.lang.IPluginFactory;
import org.artifact.core.lang.IServer;

public class NettyPluginFactory implements IPluginFactory {

	public IPlugin create() {
		int prot = IServer.me().getContext().getSetting().getInt("netty.prot");
		return new NettyPlugin(prot);
	}

}
